.TH PHO l "March 5 2007" "PHO"
.SH NAME
\fBpho\fP \- View and annotate multiple images
.SH SYNTAX
.B pho
.RI [ options ]
.RI [ filename [ filename... ]]
.SH DESCRIPTION
.I pho
displays images, in the formats handled by the
.IR gdk-pixbuf
package, to an X display.
It is intended as a lightweight and fast viewer,
optimized for rapidly going through large numbers of uploaded images.
.PP
.I pho
is entirely keyboard driven,
and allows for interactive rotation and taking of notes on each image.
It resizes after rotations and will always attempt to show
the image as large as possible.  The final rotation reached for
each image will be remembered and printed when the program exits
(for use with a batch image rotation script).
.PP
.I pho
can also remember up to ten lists of images (numbered 0-9) which can
correspond to anything the user wishes. The image lists will be printed
to standard output when pho exits. Use this to keep notes on which
images you want to save to the web, which images contain images
of your dog, etc.
.SH COMMAND-LINE OPTIONS
.TP
\fB\-p\fR
"Presentation mode": display in full screen mode with a black background
(if the window manager allows it).
.TP
\fB\-P\fR
Force non-presentation mode (e.g. if you set PHO_ARGS=-p).
.TP
\fB\-n\fR
Replace each image with a new window
(slower, but helpful for some broken window managers).
.TP
\fB\-k\fR
Keywords mode: display images scaled down, and show a Keywords dialog
for classifying images. (Keywords mode will cancel Presentation mode.)
.TP
\fB\-sN\fR
Automatic Slideshow mode, where N is the delay in seconds.
For example, -s5 will show pause 5 seconds between images.
-s0 means no delay.
.TP
\fB\-d\fR
Debug mode: may print a few debugging messages to standard output.
.TP
\fB\-h\fR
Help: print a usage statement.
\fB\-v\fR
Verbose help: print a summary of key bindings.
.SH ENVIRONMENT VARIABLES
.TP
PHO_ARGS: default flag settings
(e.g. set it to -p to use presentation mode by default).
Any flags given on the command line will override these settings.
.TP
PHO_REMOTE: the command to call when you press the 'g' key.
Include a %s to represent the filename of the current image.
(Defaults to gimp %s).
.SH KEY BINDINGS
When pho is running, it obeys the following keys:
.TP
\fB[space]\fR
Go to next image. Or cancel slideshow mode, if active.
.TP
\fB[backspace]\fR
Go to previous image
.TP
\fBr\fR, \fBt\fR, \fB[right-arrow]\fR
Rotate right (clockwise)
.TP
\fBR\fR, \fBT\fR, \fBl\fR, \fBL\fR, \fB[left-arrow]\fR
Rotate left (counter-clockwise)
.TP
\fB[up-arrow]\fR, \fB[down-arrow]\fR
Rotate 180 degrees.
.TP
\fBHome\fR
Go back to the first image.
.TP
\fBd\fR
Delete (will bring up a confirmation dialog; clicking OK or
typing another d deletes the file).
.TP
\fBi\fR
Show a dialog with information about the image, including EXIF tags.
.TP
\fB0\fR through \fB9\fR
Add the image to the appropriate notes list
.TP
\fBf\fR
Toggle in/out of "full size mode".  Images will be shown at their
native size, even if it's bigger than the screen size.
(Hint: Many window managers let you move oversized windows with alt-drag.)
.TP
\fBF\fR
Toggle in/out of "full screen mode" (or "fit to window").
Images will be scaled up or down to fill the screen in at least one dimension.
.TP
\fBp\fR
Toggle in/out of "presentation mode".
If the window manager permits, pho will take up the full screen
with the image (if smaller) centered.
.TP
\fB+\fR, \fB=\fR Magnify: show the image at twice the current size.
.TP
\fB/\fR, \fB-\fR Unmagnify: show the image at half the current size.
.TP
\fBq\fR
Quit
.SH ENVIRONMENT
Pho checks for the environment variable PHO_ARGS, which can contain flags
to use as default arguments.
For example, PHO_ARGS=p will always run pho in presentation mode (unless
you pass -P to turn off that mode).
.SH AUTHOR
Akkana Peck
.SH COPYRIGHT
Copyright \(co 2002 - 2007 Akkana Peck
.br
Pho is free software, licensed under the GNU Public License.
.SH SEE ALSO
The most recent version of \fIpho\fR, and more information about it, is at:
http://shallowsky.com/software/pho/
